package operator;

public class ThreeEyesTest {

	public static void main(String[] args) {
		int a = 10,b = 9,c = 3;
		int max = (a>b ? a:b)>c ? (a>b ? a:b):c;
		int min = (a<b ? a:b)<c ? (a<b ? a:b):c;
//		int min = a<b ? (a<c ? a:c):(b<c ? b:c);
		System.out.println(max);
		System.out.println(min);
	}

}
